package com.gzhryc.weixin.api.event.msg.resp;

import com.gzhryc.common.xml.annotation.XmlElement;
import com.gzhryc.weixin.api.event.msg.IEventRespMessage;

/**
 * 音乐格式的事件回复结构
 * @author 张浩
 * @version 0.2.0
 */
@XmlElement("xml")
public class MusicRespMessage implements IEventRespMessage{

	@XmlElement
	private String ToUserName;
	@XmlElement
	private String FromUserName;
	@XmlElement
	private Long CreateTime;
	@XmlElement
	private String MsgType = "music";
	@XmlElement
	private Music Music;
	
	public String getToUserName() {
		return ToUserName;
	}

	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}

	public String getFromUserName() {
		return FromUserName;
	}

	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}

	public Long getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(Long createTime) {
		CreateTime = createTime;
	}

	public String getMsgType() {
		return MsgType;
	}

	public void setMsgType(String msgType) {
		MsgType = msgType;
	}

	public Music getMusic() {
		return Music;
	}

	public void setMusic(Music music) {
		Music = music;
	}

	public static class Music {
		@XmlElement
		private String Title;
		@XmlElement
		private String Description;
		@XmlElement
		private String MusicUrl;
		@XmlElement
		private String HQMusicUrl;
		@XmlElement
		private String ThumbMediaId;
		
		public String getTitle() {
			return Title;
		}
		public void setTitle(String title) {
			Title = title;
		}
		public String getDescription() {
			return Description;
		}
		public void setDescription(String description) {
			Description = description;
		}
		public String getMusicUrl() {
			return MusicUrl;
		}
		public void setMusicUrl(String musicUrl) {
			MusicUrl = musicUrl;
		}
		public String getHQMusicUrl() {
			return HQMusicUrl;
		}
		public void setHQMusicUrl(String hQMusicUrl) {
			HQMusicUrl = hQMusicUrl;
		}
		public String getThumbMediaId() {
			return ThumbMediaId;
		}
		public void setThumbMediaId(String thumbMediaId) {
			ThumbMediaId = thumbMediaId;
		}
	}
}
